package com.itheima.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author wangjiexin
 */
@Data
@TableName("ap_author")
public class ApAuthor {
    //加上这个就是自增
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private Integer type;
    private Long userId;
    private Date createdTime;
    private Long wmUserId;

}
